package com.chrray.position.domain.dto.search;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 意见反馈表 参数层对象
 * 	BaseParam 为公共分页参数对象
 *
 * @author wusiwee
 * @email wusiwee@163.com
 * @since 1.0.1 2024-08-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "意见反馈表")
public class FdFeedbackSearch extends BaseParam {

	@ApiModelProperty(value = "主键ID")
	private Long id;

	@ApiModelProperty(value = "用户ID")
	private Long userId;

	@ApiModelProperty(value = "用户角色:雇工-0,雇主-1")
	private Integer userRole;

	@ApiModelProperty(value = "内容")
	private String content;

	@ApiModelProperty(value = "照片")
	private String photos;

	@ApiModelProperty(value = "反馈时间")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(shape=JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
	private Date feedbackTime;

	private Integer delFlag;


}
